﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using internet_shop.Models.Repositories;

namespace internet_shop.Controllers
{
    public class ContentController : Controller
    {

        ProductRepository rep = new ProductRepository();
        //
        // GET: /Content/

        public ActionResult Browse()
        {
            ViewData["Content"] = rep.getAllProducts();
            return View();
        }

    }
}
